package com.alibaba.springbootrbac.model.param.role;

import jakarta.validation.constraints.NotBlank;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * @author ZhouYaDong
 * @date 2025/8/22
 * @description 角色管理入参
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class RoleParam {

    @NotBlank(message = "角色名称不能为空")
    private String name;

    @NotBlank(message = "角色描述不能为空")
    private String description;

}
